<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('cemetery/index')}">{:lang('ADMIN_CEMETERY_INDEX')}</a></li>
			<li><a href="{:url('cemetery/add')}">{:lang('添加陵园')}</a></li>
		</ul>
		<form class="js-ajax-form" action="{:url('cemetery/listOrder')}" method="post">
			<table class="table table-hover table-bordered table-list" id="menus-table">
				<thead>
					<tr>
						<th width="10%">{:lang('SORT')}</th>
						<th width="40%">{:lang('NAME')}</th>
						<th width="20%">{:lang('STATUS')}</th>
						<th width="30%">{:lang('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					{$categorys}
				</tbody>
				
			</table>
            
			<div class="table-actions">
				<button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="__STATIC__/js/admin.js?v={:time()}"></script>
	<script>
		$(document).ready(function() {
			Wind.css('treeTable');
			Wind.use('treeTable', function() {
				$("#menus-table").treeTable({
					indent : 20
				});
			});
		});

		/*setInterval(function() {
			var refersh_time = getCookie('refersh_time_admin_menu_index');
			if (refersh_time == 1) {
				reloadPage(window);
			}
		}, 1000);
		setCookie('refersh_time_admin_menu_index', 0);*/
	</script>
</body>
</html>